package com.huluobo.a2308douyindemo.net

import com.huluobo.a2308douyindemo.utils.MySp
import okhttp3.Interceptor
import okhttp3.Response

/**
 *  Created by LC on 2025/11/4.
 */
class Token7012interceptor : Interceptor {
    override fun intercept(chain: Interceptor.Chain): Response {
        val request = chain.request().newBuilder()
            .addHeader(Const.PARAM_TOKEN, MySp.get(Const.PARAM_TOKEN_7012).toString()).build()
        return chain.proceed(request)
    }
}